package cn.imvc.app.repositories;

import java.util.Collection;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.DealerApply;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface DealerApplyRepository extends JpaRepository<DealerApply, Integer>,IJpqlExecutor<DealerApply>{
	
	public List<DealerApply> findByMemberIdAndStateIn(int memberId,Collection<Byte> states);
	
	public DealerApply findByCode(String code);
}
